//
//  SSCommondButton.swift
//  拾舍清洁
//
//  Created by sky.wei on 2023/8/8.
//

import UIKit

class SSCommondButton: UIButton {

    override init(frame: CGRect) {
        super.init(frame: frame)
        sutupStyle()
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
        sutupStyle()
    }
    
    func sutupStyle() {
        setTitleColor(UIColor.white, for: .normal)
        backgroundColor = UIColor(hex: "#2475FF")
        titleLabel?.font = UIFont.systemFont(ofSize: 16)
        layer.cornerRadius = 16
    }
}
